using System;

namespace eduSrc.Models
{
    [Serializable]
    public class Shop_EClass
    {
        #region Private Fields

        private Int32 _id = 0;
        private Int32 _categoryID = 0;
        private String _name = String.Empty;
        private String _address = String.Empty;
        private String _grades = String.Empty;
        private String _intro = String.Empty;
        private String _period = String.Empty;
        private Decimal _price = 0;
        private Decimal _salePrice = 0;
        private DateTime _uploadDate = DateTime.Now;
        private Int32 _viewCount = 0;
        private byte _hideEnable = 0;
        private byte _focalEnable = 0;
        private Int32 _sortNums = 0;
        private string _gDateTime = String.Empty;
        private string _teachers = String.Empty;

        private byte _isFormat = 1;
        #endregion

        #region Properties

        public Int32 ID
        {
            set { _id = value; }
            get { return _id; }
        }

        public Int32 CategoryID
        {
            set { _categoryID = value; }
            get { return _categoryID; }
        }

        public String Name
        {
            set { _name = value; }
            get { return _name; }
        }

        public String Period
        {
            set { _period = value; }
            get { return _period; }
        }

        public String Intro
        {
            set { _intro = value; }
            get { return _intro; }
        }

        public String Teachers
        {
            set { _teachers = value; }
            get { return _teachers; }
        }

        public Decimal Price
        {
            set { _price = value; }
            get { return _price; }
        }

        public Decimal SalePrice
        {
            set { _salePrice = value; }
            get { return _salePrice; }
        }

        public DateTime UploadDate
        {
            set { _uploadDate = value; }
            get { return _uploadDate; }
        }

        public Int32 ViewCount
        {
            set { _viewCount = value; }
            get { return _viewCount; }
        }

        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }

        public string GDateTime
        {
            set { _gDateTime = value; }
            get { return _gDateTime; }
        }

        public string Grades
        {
            set { _grades = value; }
            get { return _grades; }
        }

        public byte HideEnable
        {
            set { _hideEnable = value; }
            get { return _hideEnable; }
        }

        public byte FocalEnable
        {
            set { _focalEnable = value; }
            get { return _focalEnable; }
        }

        public int SortNums
        {
            set { _sortNums = value; }
            get { return _sortNums; }
        }

        public byte IsFormat
        {
            set { _isFormat = value; }
            get { return _isFormat; }
        }
        #endregion
    }
}
